package org.example.netty.config;

import org.example.netty.config.NettyEndpointConfig;

public class NettyServerConfig implements NettyEndpointConfig {
    private long machineId;
    private int port;
    public void setPort(int port){
        this.port = port;
    }

    public int getPort() {
        return port;
    }
    @Override
    public void setMachineId(long machineId) {
        this.machineId = machineId;
    }

    @Override
    public long getMachineId() {
        return this.machineId;
    }
}
